Learn R Programming

pheno2geno (version 1.4.0)

power.plot : Comparison of power of qtl detection.

Description

Plots maximal values of QTL peak measured on the same phenotypes in two crosses.

Usage

power.plot(cross1,cross2,scores,qtlThr=5,nPheno=500,verbose=FALSE,...)

Arguments

cross1

An object of class cross. See read.cross for details.

cross2

An object of class cross. See read.cross for details.

scores

An object of class scores (result of running of this function). This allows for not recalculating QTL scores everytime user wants to plot them.

qtlThr

Threshold for assessing the significance of the QTL peak.

nPheno

Nr of phenotypes that will be scanned for QTLs. Phenotypes are selected randomly.

verbose

Be verbose.

...

Arguments passed to scanone function (see scanone).

Value

An object of class scores containing all the QTL scores calculated during the run of this function. This can be plugged back into the function to avoid unnecessary recalculation of the scores.

Details

Plots maximal values of QTL peak measured on the same phenotypes in two crosses. This give a good comparison of power to detect the QTLs between crosses, if the number of phenotypes scanned is large enough.

See Also

Examples

Run this code
# NOT RUN {
	data(testCross)
  power.plot(testCross,testCross,nPheno=50)
# }

Run the code above in your browser using DataLab